Tool Approval Request
@Serializable
Tool requires approval. Per v6 RPC semantics, the loop ends after emitting this event — the corresponding ai.torad.aisdk.ContentPart.ToolApprovalRequest is added to the assistant message in the result, and the host calls Agent.generate again with a tool message containing ai.torad.aisdk.ContentPart.ToolApprovalResponse to resume.
Constructors
Properties
Link copied to clipboard
Approval-identity key, distinct from toolCallId per v6. Null defaults to toolCallId for the common case (single approval per call). Explicit when two approvals share a tool-call id and need separate correlation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard